body {
  margin: 0;
  padding: 0;
  background: #f3f3f3;
}

.add {
  float: right;
}

.list {
  position: relative;
}

.row {
  overflow: hidden;
  position: absolute;
  box-sizing: border-box;
  width: 100%;
  left: 0px;
  margin: 0.5em 0;
  padding: 1em;
  background: #fff;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.2);
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-out,
    left 0.5s ease-in-out;
  -webkit-transition: transform 0.5s ease-in-out, opacity 0.5s ease-out,
    left 0.5s ease-in-out;
}

.row div {
  display: inline-block;
  vertical-align: middle;
}

.row>div:nth-child(1) {
  width: 5%;
}

.row>div:nth-child(2) {
  width: 10%;
}

.row>div:nth-child(3) {
  width: 56%;
}

.row>div:nth-child(4) {
  width: 10%;
  text-align: center;
}

.rm-btn {
  cursor: pointer;
  position: absolute;
  top: 0;
  right: 0;
  color: #c25151;
  width: 1.4em;
  height: 1.4em;
  text-align: center;
  line-height: 1.4em;
  padding: 0;
}